←Select platform

SetDateValue(DicomElement,DicomDateValue[]) Method

Summary

Sets the Date values of a Data Element.

Syntax

C#
VB
Java
WinRT C#
C++
public bool SetDateValue( 
   DicomElement element, 
   DicomDateValue[] value 
) 
Public Overloads Function SetDateValue( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal value() As Leadtools.Dicom.DicomDateValue _ 
) As Boolean 
public boolean setDateValue(DicomElement element, DicomDateValue[] values) 
 function Leadtools.Dicom.DicomDataSet.SetDateValue(DicomElement,DicomDateValue[])(  
   element , 
   value  
) 

Parameters

element
An item in the Data Set.

value
Pointer to an array of DicomDateValue objects that contain the Date value(s) to set.

Return Value

true if the Date values were set successfully; otherwise, it is false (the Date values of the Data Element could not be set).

Remarks

This method can be called only if the Value Representation of the Data Element is DicomVRType.DA. For more information about Value Representations, refer to Default Value Representation Table.

Example

For an example, refer to SetIntValue.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly